package com.nblog.service;

import com.nblog.model.User;
import com.nblog.plugin.ioc.annotation.JFService;
@JFService
public class UserService {
	public boolean isexist(String username){
		User user=User.dao.findFirst("select id from user where username=?", username);
		if(user!=null){
			return true;
		}else{
			return false;
		}
	}
	
}
